package com.mebs.edi.datalayer.jpa;

import javax.persistence.EntityManager;

import com.mebs.edi.datalayer.TransportationDao;
import com.mebs.model.logistics.Transportation;

public class JpaTransportationDao extends JpaGenericDao implements TransportationDao {

	public Transportation getById(Long id) {
		EntityManager em = getEntityManager();
		
		Transportation transportation = em.find(Transportation.class, id);
		return transportation;
	}

}
